﻿<%@ Page Language="C#" MasterPageFile="~/Users/Users.Master" AutoEventWireup="true" CodeBehind="PremiseDetails.aspx.cs" Inherits="Pantry.Web.Users.PremiseDetails" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="Resources/js/DataTables/jquery.dataTables.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="g_12_tienvn" id="table_wTabs">
        <div class="duongnt8_title">
            <h4 class="widget_header_title wwIcon i_16_tables">
                Premise Details
            </h4>
        </div>
        <div class="widget_header wwOptions">
            <ul class="w_Tabs">
                <li><a href="#table_wTabs-1" title="Tab 1">Detail 1</a></li>
                <li><a href="#table_wTabs-2" title="Tab 2">Detail 2</a></li>
                <li><a href="#table_wTabs-3" title="Tab 3">Detail 3</a></li>
                <li><a href="#table_wTabs-4" title="Tab 4">Detail 4</a></li>
                <li><a href="#table_wTabs-5" title="Tab 5">Another</a></li>
                <li><a href="#table_wTabs-6" title="Tab 6">Another</a></li>
            </ul>
            <div class="top-nav">
                <asp:Button ID="ButtonInActive" runat="server" Text="In-active" CssClass="buttontop"
                    OnClientClick="return confirm('Do you want to in-active this Organization ?')" />
                <asp:Button ID="ButtonSave" runat="server" Text="Save" CssClass="buttontop" OnClick="ButtonSaveClick"
                    OnClientClick="return validate()" />
                <asp:Button ID="ButtonBack" runat="server" Text="Back" CssClass="buttontop"/>
            </div>
        </div>
        <div style="clear: both;"></div>
        <div class="widget_contents_tienvn" id="content_tienvn">
            <div id="table_wTabs-1">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <div class="g_6_tienvn">
                            <ul class="title_ul">
                                <li>Location Name <span style="color:Red">*</span></li>
                                <li>Known As <span style="color:Red">*</span></li>
                                <li>Location Organisation </li>
                                <li>Location Status <span style="color:Red">*</span></li>
                                <li>Location Status Date</li>
                                <li>Address Line 1</li>
                                <li>Address Line 2</li>
                                <li>Address Line 3</li>
                                <li>Postcode</li>
                                <li>Town/Village/City</li>
                                <li>County</li>
                                <li>National/Country</li>
                                <li><asp:LinkButton ID="LinkButton2" runat="server" CommandName="update" OnClientClick="return confirm('Are you sure to remove this Premise ?')"><span style="color:Green">Location Opening Times</span></asp:LinkButton></li>
                            </ul>
                            <ul class="control_ul">
                                <li>
                                    <asp:HiddenField ID="HiddenFieldName" runat="server" />
                                <asp:TextBox ID="TextBoxPremiseName" runat="server"/></li>
                                <li><asp:TextBox ID="TextBoxKnownAs" runat="server" /></li>
                                <li><asp:TextBox ID="TextBoxLocationOrganisation" runat="server" CssClass="small_text" Enabled="false"/>
                                    <asp:HiddenField ID="HiddenFieldContactId" runat="server" />
                                    <asp:Button ID="ButtonLookupContact" runat="server" Text="Lookup" CssClass="buttonlookup lookupcontact" />
                                </li>
                                <li><asp:DropDownList ID="DropDownListLocationStatus" runat="server">
                                    <asp:ListItem Text="Pending Active"></asp:ListItem>
                                    <asp:ListItem Text="Active"></asp:ListItem>
                                    <asp:ListItem Text="Pending Closure"></asp:ListItem>
                                    <asp:ListItem Text="Closed"></asp:ListItem>
                                </asp:DropDownList>
                                </li>
                                <li><div class="btTopF" title="Date format : MM/DD/YYYY"><asp:TextBox ID="TextBoxLocationStatusDate" runat="server" placeholder="<mm/dd/yyyy>" CssClass="pick_date"/></div></li>
                                <li><asp:TextBox ID="TextBoxAddress1" runat="server"/></li>
                                <li><asp:TextBox ID="TextBoxAddress2" runat="server"/></li>
                                <li><asp:TextBox ID="TextBoxAddress3" runat="server"/></li>
                                <li><asp:TextBox ID="TextBoxPostcode" runat="server" CssClass="small_text"/>
                                    <asp:Button ID="ButtonLookupPostcode" runat="server" Text="Lookup" CssClass="buttonlookup lookupPostcode"/>
                                </li>
                                <li><asp:TextBox ID="TextBoxTown" runat="server"/></li>
                                <li><asp:TextBox ID="TextBoxCounty" runat="server"/></li>
                                <li><asp:DropDownList ID="DropDownListNational" runat="server">
                                    <asp:ListItem Text="Vietnam"></asp:ListItem>
                                </asp:DropDownList></li>
                            </ul>
                        </div>
                        <div class="g_6_tienvn">
                            <ul class="title_ul">
                                <li>Primary Location</li>
                                <li>Location Managed</li>
                                <li>ST Network Connectivity</li>
                                <li style="margin-top:30px;">Location Type <span style="color:Red">*</span></li>
                                <li style="margin-top:30px;">Location Description</li>
                                <li style="margin-top:10px;">Phone Number <span style="color:Red">*</span></li>
                                <li>General Fax Number</li>
                                <li>MiniComm Number</li>
                                <li>Is New Shop</li>
                                <li>Shop Flag Date</li>
                                <li>Specialist Shop</li>
                            </ul>
                            <ul class="control_ul">
                                <li><asp:CheckBox ID="CheckBoxPrimaryLocation" runat="server"/></li>
                                <li><asp:CheckBox ID="CheckBoxLocationManaged" runat="server"/></li>
                                <li><asp:CheckBox ID="CheckBoxIsNetworkConnectivity" runat="server"/></li>
                                <li>
                                <asp:Panel ID="Panel2" runat="server" ScrollBars="Auto" CssClass="tungtt_panel checkboxlist">
                                <asp:CheckBoxList ID="CheckBoxListLocationType" runat="server" >
                                    <asp:ListItem Text="Enteprise"></asp:ListItem>
                                    <asp:ListItem Text="Project"></asp:ListItem>
                                    <asp:ListItem Text="JSC Company"></asp:ListItem>
                                    <asp:ListItem Text="Support Center"></asp:ListItem>
                                </asp:CheckBoxList>
                                </asp:Panel>
                                </li>
                                
                                <li><asp:TextBox ID="TextBoxLocationDescription" runat="server" TextMode="MultiLine" ToolTip=""/></li>
                                <li><asp:TextBox ID="TextBoxPhoneNumber" runat="server" ToolTip="Format:tienvn@fsoft.com.vn"/></li>
                                <li><asp:TextBox ID="TextBoxFaxNumber" runat="server" /></li>
                                <li><asp:TextBox ID="TextBoxMinicommNumber" runat="server" /></li>
                                <li><asp:CheckBox ID="CheckBoxIsNewShop" runat="server"/></li>
                                <li><div class="btTopF" title="Date format : MM/DD/YYYY"><asp:TextBox ID="TextBoxFlagDate" runat="server" placeholder="<mm/dd/yyyy>" CssClass="pick_date"/></div></li>
                                <li><asp:CheckBox ID="CheckBoxSpecialistShop" runat="server"/></li>
                            </ul>
                        </div>
                        <div class="clear"></div>
                        <span style="color:Red; padding-left:5px;">* is mandatory field</span>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
            <div id="table_wTabs-2">
                Tab 2
            </div>
            <div id="table_wTabs-3">
                Tab 3
            </div>
            <div id="table_wTabs-4">
                Tab 4
            </div>
            <div id="table_wTabs-5">
                Tab 5
            </div>
            <div id="table_wTabs-6">
                Tab 6
            </div>
        </div>
    </div>
</asp:Content>
